package org.ns.summer.data.mybatis;

import org.apache.ibatis.session.ExecutorType;

import java.lang.annotation.*;

@Target({ElementType.ANNOTATION_TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Transaction {
    ExecutorType executortype() default ExecutorType.SIMPLE;
    boolean autoJta() default true;
}
